package com.woniu.product.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品属性
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lg_prop")
public class Prop implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * prop_id
     */
    @TableId(value = "prop_id", type = IdType.AUTO)
    private Integer propId;

    /**
     * 属性名
     */
    private String propName;

    /**
     * 关联的SPU的ID
     */
    private Integer spuId;


}
